import sys
text = sys.stdin.read()
words=text.split()
wordscount = len(words)
print 'wordcount:', wordscount